//router/index.js
//1.导入createRouter及createWebHistory
import {createRouter, createWebHistory} from 'vue-router'
//import Home from "./views/Home/Home.vue"
//2. 创建路由实例
const router = createRouter({
//2.1 路由模式
history: createWebHistory(import.meta.env.BASE_URL),
//2.2 路由配置规则
routes:[

]
})
//3.将路由对象导出
export default router